<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="org.lsms.dao.impl.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>Author Register Information Page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="LSMS,ICSEE,AUTHOR">

		<link rel="stylesheet" type="text/css" href="../css/author_layout.css">
		<link rel="stylesheet" type="text/css" href="../css/hyper_link_style.css">
		
		<style type="text/css">
		p{
			text-align:justify;
			font-size:small;
			font-family:Arial;
		}
		#content table th{
			border:1px solid black;
			text-align:center;
		}
		#content table td{
			border:1px solid black;
			text-align:center;
		}
		#content table{
			border:1px solid black;
			border-spacing:0;
			border-collapse:collapse;
			width:680px;
		}
		</style>
	</head>

	<body>
		<div id="container">
			<div id="header" class="logo_image"></div>
			<div class="nav"></div>
			<div id="author_menu" class="border">
				<table border="0" width="100%">
					<tr>
						<td bgcolor="#CCCCCC">
							<a href="../index.jsp">Home</a>
						</td>
					</tr>
					<tr>
						<%
					DaoImpl impl_set = new DaoImpl();
					HashMap<String,Integer> hm_set = impl_set.get_site_setting();
					int paper_submit = hm_set.get("paper_submit");
					if(paper_submit==1){
				 %>
					<td  bgcolor="#CCCCCC"><a href="submit_paper.jsp">Submit Paper</a></td>
				<%
					}else{
				 %>
				 	<td  bgcolor="#CCCCCC"><a href="../error/submit_paper_forbidden.jsp">Submit Paper</a></td>	
				<%
					}
				 %>
					</tr>
					<tr>
						<td bgcolor="#CCCCCC">
							<a href="paper_history.jsp">History / Paper Status</a>
						</td>
					</tr>
					<tr>
						<td bgcolor="#CCCCCC">
							<a href="register_info.jsp">Register Information</a>
						</td>
					</tr>
					<tr>
						<td bgcolor="#CCCCCC">
							<a href="modify_info.jsp">Modify Information</a>
						</td>
					</tr>
					<tr>
						<td bgcolor="#CCCCCC">
							<a href="../logout">Log Out</a>
						</td>
					</tr>
				</table>
			</div>

			<div id="content" class="bg_color border">
			<div style="margin:15px">
				<p>
				<font size=5px color=red><b>Notice:</b></font>
				</p>
				<p>	
				[1] The length of the paper recommended to journal can be<font color="#FF0000">
					up to 9 pages for LNCS and 7 pages for LNBI/CCIS.
				 	Extra page fee is 400 RMB (60 $ or 45 €) per page</font> if the length 
				 	exceeds above pages.
				</p>
				<p> [2] The length of the paper published in
						LNCS only can be <font color="#FF0000">up to 11 pages</font>. 
						<font color="#FF0000">Extra page fee is 400 RMB (60 $ or 45
						€) per page</font> if the length exceeds 11 pages. 
				</p>
				<p> [3]The length of the paper published in
						LNBI only can be <font color="#FF0000">up to 9 pages.
						Extra page fee is 400 RMB (60 $ or 45
						€) per page</font> if the length exceeds 9 pages.
				</p>
				<p> [4]The length of the paper published in CCIS
						only can be <font color="#FF0000">up to 9 pages. 
						Extra page fee is 400 RMB (60 $ or 45
						€) per page</font> if the length exceeds 9 pages.
				<p>	[5]For the international authors, the bank
						transfer details for the registration fee are given in the
						registration form. Besides this, please note that the 
						<font color="#FF0000">swift code is SPDBCNSHXXX.</font>
				</p>
				<p>
				<font size=5px><b>Register Information</b></font>
				</p>
				<p>
				<p>
					<font face="Arial">To Author(s): Now you can download the
						registration form, copyright form and the templates for preparing
						the final camera-ready papers. <br> <br> All authors who
						have papers accepted into LSMS & ICSEE 2010 must strictly follow <font
						color="#FF0000">the deadline for submitting your
							camera-ready papers and making the registration before June 28,
							2010</font>. Otherwise, your paper will be not included into the
						publications, which is a mandatory step without exception for any
						authors.</font>
				</p>
				<table align='center' style="width:680px">
				<tr>
					<th>Paper id</th>
					<th style="width:500px">Paper Title</th>
					<th>Authors</th>
					<th>Submit Date</th>
					<th>Statue</th>
					<th>Download</th>
					<th>Edit1</th>
					<th style="color:red">Index-Type</th>
					<th style="color:red">Upload</th>
				</tr>
				<%
					DaoImpl impl = new DaoImpl();
					int userid = Integer.parseInt(session.getAttribute("userid").toString());
					HashMap hm = impl.select_passed_paper(userid);
					Set<Integer> set = hm.keySet();	
					Iterator it = set.iterator();
					while(it.hasNext()){
						Integer i = (Integer)it.next();
				 %>
				<tr>
					<td>
					<%
						out.print(i);
					%>
					</td>
					<td style="width:500px">
					<%
						out.print(((org.lsms.bean.Paper)hm.get(i)).getPapertitle());
					 %>
					</td>
					<td style="width:100px">
					<%
						out.print(((org.lsms.bean.Paper)hm.get(i)).getAuthorname());
					 %>
					</td>
					<td>
					<%
						out.print(((org.lsms.bean.Paper)hm.get(i)).getPapersubmitdate());
					 %>
					</td>
					<td> 	
						<font color="red">Pass</font><br>
						<a href="view_suggestion.jsp?paper_id=<%=i%>">show reviewer</a>
					</td>
					
					<td>
					<%
						String name = "..";
						String url = impl.get_paper_sava_name(i);
						name +=url;
					 %>
					<a href="<%=name %>">Download</a>
					</td>
					<td>
					<a href="submit_paper.jsp">Edit</a>
					</td>
				
				<td>
					<%
						int indextype = (((org.lsms.bean.Paper)hm.get(i)).getPaperindextype());
					 	if(indextype==1){
					 %>
					 <font color="red">CCIS</font>
					 <%
					 	}else{
					  %>
					  <font color="red">CCIE</font>
					  <%
					  }
					   %>
				</td>
				<td>
					<a href="paper_index_upload.jsp?paper_id=<%=i%>&indextype=<%=indextype%>">Enter</a>
				</td>
				<%
					}
				%>
				</tr>
				</table>
			</div>
			</div>
			<div class="nav"></div>

			<div id="footer" class="footer_color border">
				<p style="text-align:center">
					<b>&copy;2010 LSMS-All Rights Reserved.</b>
				</p>
				<p style="text-align:center">
					<b>Powered by Shu.</b>
				</p>
			</div>
		</div>
	</body>
</html>
